package com.nwpu.am.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Order
 *
 * @author Fbf
 * @version 1.0
 * {@code @date} 2024/6/4
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Order implements Serializable {
    private long orderId;
    private long userId;
    private short status;
    private int payMoney;
    //@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss" )
    @ApiModelProperty("格式：yyyy-MM-dd HH:mm:ss")
    private LocalDateTime creatTime;
    //@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("格式：yyyy-MM-dd HH:mm:ss")
    private LocalDateTime completeTime;
    private String description;
    private String ownerName;
    private String ownerTel;
}
